package org.apache.dolphinscheduler.api.service;

import org.apache.dolphinscheduler.api.utils.Result;
import org.apache.dolphinscheduler.dao.entity.Apply;
import org.apache.dolphinscheduler.dao.entity.User;

public interface ApplyService {
    Result add(User loginUser, Apply apply);

    Result audit(User loginUser, int id, int type, String account, String remark);

    Result list(User loginUser, Integer pageSize, Integer pageNo, String type, String searchVal, String applyAccount);

    Result saveToken(User loginUser, Apply apply);

    Result get(User loginUser,int id);
}
